package com.dragon.modules.yuegou.query.lot;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.lot.ActivityEntity;
import com.dragon.modules.yuegou.enums.lot.ActivityProcessStatus;
import com.dragon.modules.yuegou.enums.lot.ActivityPublishStatus;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 抽奖活动表 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-10-25 09:04:07
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class ActivityQuery extends ActivityEntity implements Query<ActivityEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 商圈ID查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 活动名称查询条件 */
	@JsonUnwrapped(prefix = "name")
	private Condition<String> nameCondition;

    /** 商家ID查询条件 */
	@JsonUnwrapped(prefix = "merchantId")
	private Condition<String> merchantIdCondition;

    /** 活动图片查询条件 */
	@JsonUnwrapped(prefix = "image")
	private Condition<String> imageCondition;

    /** 奖品id查询条件 */
	@JsonUnwrapped(prefix = "skuId")
	private Condition<String> skuIdCondition;

    /** 奖品名称查询条件 */
	@JsonUnwrapped(prefix = "skuName")
	private Condition<String> skuNameCondition;

    /** 奖品价值查询条件 */
	@JsonUnwrapped(prefix = "price")
	private Condition<BigDecimal> priceCondition;

    /** 获奖人数查询条件 */
	@JsonUnwrapped(prefix = "awardNum")
	private Condition<Integer> awardNumCondition;

    /** 活动规则查询条件 */
	@JsonUnwrapped(prefix = "rule")
	private Condition<String> ruleCondition;

    /** 用户单日最高获取奖券数量查询条件 */
	@JsonUnwrapped(prefix = "userJoinMaxNum")
	private Condition<Integer> userJoinMaxNumCondition;

    /** 报名开始时间查询条件 */
	@JsonUnwrapped(prefix = "joinBeginTime")
	private Condition<LocalDateTime> joinBeginTimeCondition;

    /** 报名结束时间查询条件 */
	@JsonUnwrapped(prefix = "joinEndTime")
	private Condition<LocalDateTime> joinEndTimeCondition;

    /** 开奖时间 精确到小时查询条件 */
	@JsonUnwrapped(prefix = "drawBeginTime")
	private Condition<LocalDateTime> drawBeginTimeCondition;

    /** 开奖结束时间 开奖当天的结束时间查询条件 */
	@JsonUnwrapped(prefix = "drawEndTime")
	private Condition<LocalDateTime> drawEndTimeCondition;

    /** 是否开奖：0-未开奖；1-已开奖查询条件 */
	@JsonUnwrapped(prefix = "isDraw")
	private Condition<Boolean> isDrawCondition;

    /** [枚举]活动进行状态：0-进行中-PROCESSIONG、1-即将开始-ABOUT_START、2-已结束-OVER查询条件 */
	@JsonUnwrapped(prefix = "processStatus")
	private Condition<ActivityProcessStatus> processStatusCondition;

    /** [枚举]上架状态：0-下架-LOWER、1-上架-UPPER查询条件 */
	@JsonUnwrapped(prefix = "publishStatus")
	private Condition<ActivityPublishStatus> publishStatusCondition;

    /** 创建人ID查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 更新人ID查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 更新时间查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public ActivityQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public ActivityQuery(ActivityEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public ActivityQuery(ActivityQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.nameCondition != null) {
			this.nameCondition = other.nameCondition.copy();
		}
		if(other.merchantIdCondition != null) {
			this.merchantIdCondition = other.merchantIdCondition.copy();
		}
		if(other.imageCondition != null) {
			this.imageCondition = other.imageCondition.copy();
		}
		if(other.skuIdCondition != null) {
			this.skuIdCondition = other.skuIdCondition.copy();
		}
		if(other.skuNameCondition != null) {
			this.skuNameCondition = other.skuNameCondition.copy();
		}
		if(other.priceCondition != null) {
			this.priceCondition = other.priceCondition.copy();
		}
		if(other.awardNumCondition != null) {
			this.awardNumCondition = other.awardNumCondition.copy();
		}
		if(other.ruleCondition != null) {
			this.ruleCondition = other.ruleCondition.copy();
		}
		if(other.userJoinMaxNumCondition != null) {
			this.userJoinMaxNumCondition = other.userJoinMaxNumCondition.copy();
		}
		if(other.joinBeginTimeCondition != null) {
			this.joinBeginTimeCondition = other.joinBeginTimeCondition.copy();
		}
		if(other.joinEndTimeCondition != null) {
			this.joinEndTimeCondition = other.joinEndTimeCondition.copy();
		}
		if(other.drawBeginTimeCondition != null) {
			this.drawBeginTimeCondition = other.drawBeginTimeCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(ActivityQuery other){
		if(other.drawEndTimeCondition != null) {
			this.drawEndTimeCondition = other.drawEndTimeCondition.copy();
		}
		if(other.isDrawCondition != null) {
			this.isDrawCondition = other.isDrawCondition.copy();
		}
		if(other.processStatusCondition != null) {
			this.processStatusCondition = other.processStatusCondition.copy();
		}
		if(other.publishStatusCondition != null) {
			this.publishStatusCondition = other.publishStatusCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<ActivityEntity> toQueryWrapper() {
		QueryWrapper<ActivityEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (nameCondition != null) {
			nameCondition.toWrapper(wrapper, COL_NAME);
		}
		if (merchantIdCondition != null) {
			merchantIdCondition.toWrapper(wrapper, COL_MERCHANT_ID);
		}
		if (imageCondition != null) {
			imageCondition.toWrapper(wrapper, COL_IMAGE);
		}
		if (skuIdCondition != null) {
			skuIdCondition.toWrapper(wrapper, COL_SKU_ID);
		}
		if (skuNameCondition != null) {
			skuNameCondition.toWrapper(wrapper, COL_SKU_NAME);
		}
		if (priceCondition != null) {
			priceCondition.toWrapper(wrapper, COL_PRICE);
		}
		if (awardNumCondition != null) {
			awardNumCondition.toWrapper(wrapper, COL_AWARD_NUM);
		}
		if (ruleCondition != null) {
			ruleCondition.toWrapper(wrapper, COL_RULE);
		}
		if (userJoinMaxNumCondition != null) {
			userJoinMaxNumCondition.toWrapper(wrapper, COL_USER_JOIN_MAX_NUM);
		}
		if (joinBeginTimeCondition != null) {
			joinBeginTimeCondition.toWrapper(wrapper, COL_JOIN_BEGIN_TIME);
		}
		if (joinEndTimeCondition != null) {
			joinEndTimeCondition.toWrapper(wrapper, COL_JOIN_END_TIME);
		}
		if (drawBeginTimeCondition != null) {
			drawBeginTimeCondition.toWrapper(wrapper, COL_DRAW_BEGIN_TIME);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<ActivityEntity> getQueryWrapper(QueryWrapper<ActivityEntity> wrapper){
		if (drawEndTimeCondition != null) {
			drawEndTimeCondition.toWrapper(wrapper, COL_DRAW_END_TIME);
		}
		if (isDrawCondition != null) {
			isDrawCondition.toWrapper(wrapper, COL_IS_DRAW);
		}
		if (processStatusCondition != null) {
			processStatusCondition.toWrapper(wrapper, COL_PROCESS_STATUS);
		}
		if (publishStatusCondition != null) {
			publishStatusCondition.toWrapper(wrapper, COL_PUBLISH_STATUS);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈ID查询条件
	 * 
	 * @param busdIdCondition 商圈ID查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回活动名称查询条件
	 * 
	 * @return nameCondition 活动名称查询条件
	 */
	public Condition<String> name() {
		this.nameCondition = new Condition<>();
		return this.nameCondition;
	}
	
	/**
	 * 获取活动名称查询条件
	 * 
	 * @return nameCondition 活动名称查询条件
	 */
	public Condition<String> getNameCondition() {
		return nameCondition;
	}

	/**
	 * 设置活动名称查询条件
	 * 
	 * @param nameCondition 活动名称查询条件
	 */
	public void setNameCondition(Condition<String> nameCondition) {
		this.nameCondition = nameCondition;
	}

	/**
	 * 构造并返回商家ID查询条件
	 * 
	 * @return merchantIdCondition 商家ID查询条件
	 */
	public Condition<String> merchantId() {
		this.merchantIdCondition = new Condition<>();
		return this.merchantIdCondition;
	}
	
	/**
	 * 获取商家ID查询条件
	 * 
	 * @return merchantIdCondition 商家ID查询条件
	 */
	public Condition<String> getMerchantIdCondition() {
		return merchantIdCondition;
	}

	/**
	 * 设置商家ID查询条件
	 * 
	 * @param merchantIdCondition 商家ID查询条件
	 */
	public void setMerchantIdCondition(Condition<String> merchantIdCondition) {
		this.merchantIdCondition = merchantIdCondition;
	}

	/**
	 * 构造并返回活动图片查询条件
	 * 
	 * @return imageCondition 活动图片查询条件
	 */
	public Condition<String> image() {
		this.imageCondition = new Condition<>();
		return this.imageCondition;
	}
	
	/**
	 * 获取活动图片查询条件
	 * 
	 * @return imageCondition 活动图片查询条件
	 */
	public Condition<String> getImageCondition() {
		return imageCondition;
	}

	/**
	 * 设置活动图片查询条件
	 * 
	 * @param imageCondition 活动图片查询条件
	 */
	public void setImageCondition(Condition<String> imageCondition) {
		this.imageCondition = imageCondition;
	}

	/**
	 * 构造并返回奖品id查询条件
	 * 
	 * @return skuIdCondition 奖品id查询条件
	 */
	public Condition<String> skuId() {
		this.skuIdCondition = new Condition<>();
		return this.skuIdCondition;
	}
	
	/**
	 * 获取奖品id查询条件
	 * 
	 * @return skuIdCondition 奖品id查询条件
	 */
	public Condition<String> getSkuIdCondition() {
		return skuIdCondition;
	}

	/**
	 * 设置奖品id查询条件
	 * 
	 * @param skuIdCondition 奖品id查询条件
	 */
	public void setSkuIdCondition(Condition<String> skuIdCondition) {
		this.skuIdCondition = skuIdCondition;
	}

	/**
	 * 构造并返回奖品名称查询条件
	 * 
	 * @return skuNameCondition 奖品名称查询条件
	 */
	public Condition<String> skuName() {
		this.skuNameCondition = new Condition<>();
		return this.skuNameCondition;
	}
	
	/**
	 * 获取奖品名称查询条件
	 * 
	 * @return skuNameCondition 奖品名称查询条件
	 */
	public Condition<String> getSkuNameCondition() {
		return skuNameCondition;
	}

	/**
	 * 设置奖品名称查询条件
	 * 
	 * @param skuNameCondition 奖品名称查询条件
	 */
	public void setSkuNameCondition(Condition<String> skuNameCondition) {
		this.skuNameCondition = skuNameCondition;
	}

	/**
	 * 构造并返回奖品价值查询条件
	 * 
	 * @return priceCondition 奖品价值查询条件
	 */
	public Condition<BigDecimal> price() {
		this.priceCondition = new Condition<>();
		return this.priceCondition;
	}
	
	/**
	 * 获取奖品价值查询条件
	 * 
	 * @return priceCondition 奖品价值查询条件
	 */
	public Condition<BigDecimal> getPriceCondition() {
		return priceCondition;
	}

	/**
	 * 设置奖品价值查询条件
	 * 
	 * @param priceCondition 奖品价值查询条件
	 */
	public void setPriceCondition(Condition<BigDecimal> priceCondition) {
		this.priceCondition = priceCondition;
	}

	/**
	 * 构造并返回获奖人数查询条件
	 * 
	 * @return awardNumCondition 获奖人数查询条件
	 */
	public Condition<Integer> awardNum() {
		this.awardNumCondition = new Condition<>();
		return this.awardNumCondition;
	}
	
	/**
	 * 获取获奖人数查询条件
	 * 
	 * @return awardNumCondition 获奖人数查询条件
	 */
	public Condition<Integer> getAwardNumCondition() {
		return awardNumCondition;
	}

	/**
	 * 设置获奖人数查询条件
	 * 
	 * @param awardNumCondition 获奖人数查询条件
	 */
	public void setAwardNumCondition(Condition<Integer> awardNumCondition) {
		this.awardNumCondition = awardNumCondition;
	}

	/**
	 * 构造并返回活动规则查询条件
	 * 
	 * @return ruleCondition 活动规则查询条件
	 */
	public Condition<String> rule() {
		this.ruleCondition = new Condition<>();
		return this.ruleCondition;
	}
	
	/**
	 * 获取活动规则查询条件
	 * 
	 * @return ruleCondition 活动规则查询条件
	 */
	public Condition<String> getRuleCondition() {
		return ruleCondition;
	}

	/**
	 * 设置活动规则查询条件
	 * 
	 * @param ruleCondition 活动规则查询条件
	 */
	public void setRuleCondition(Condition<String> ruleCondition) {
		this.ruleCondition = ruleCondition;
	}

	/**
	 * 构造并返回用户单日最高获取奖券数量查询条件
	 * 
	 * @return userJoinMaxNumCondition 用户单日最高获取奖券数量查询条件
	 */
	public Condition<Integer> userJoinMaxNum() {
		this.userJoinMaxNumCondition = new Condition<>();
		return this.userJoinMaxNumCondition;
	}
	
	/**
	 * 获取用户单日最高获取奖券数量查询条件
	 * 
	 * @return userJoinMaxNumCondition 用户单日最高获取奖券数量查询条件
	 */
	public Condition<Integer> getUserJoinMaxNumCondition() {
		return userJoinMaxNumCondition;
	}

	/**
	 * 设置用户单日最高获取奖券数量查询条件
	 * 
	 * @param userJoinMaxNumCondition 用户单日最高获取奖券数量查询条件
	 */
	public void setUserJoinMaxNumCondition(Condition<Integer> userJoinMaxNumCondition) {
		this.userJoinMaxNumCondition = userJoinMaxNumCondition;
	}

	/**
	 * 构造并返回报名开始时间查询条件
	 * 
	 * @return joinBeginTimeCondition 报名开始时间查询条件
	 */
	public Condition<LocalDateTime> joinBeginTime() {
		this.joinBeginTimeCondition = new Condition<>();
		return this.joinBeginTimeCondition;
	}
	
	/**
	 * 获取报名开始时间查询条件
	 * 
	 * @return joinBeginTimeCondition 报名开始时间查询条件
	 */
	public Condition<LocalDateTime> getJoinBeginTimeCondition() {
		return joinBeginTimeCondition;
	}

	/**
	 * 设置报名开始时间查询条件
	 * 
	 * @param joinBeginTimeCondition 报名开始时间查询条件
	 */
	public void setJoinBeginTimeCondition(Condition<LocalDateTime> joinBeginTimeCondition) {
		this.joinBeginTimeCondition = joinBeginTimeCondition;
	}

	/**
	 * 构造并返回报名结束时间查询条件
	 * 
	 * @return joinEndTimeCondition 报名结束时间查询条件
	 */
	public Condition<LocalDateTime> joinEndTime() {
		this.joinEndTimeCondition = new Condition<>();
		return this.joinEndTimeCondition;
	}
	
	/**
	 * 获取报名结束时间查询条件
	 * 
	 * @return joinEndTimeCondition 报名结束时间查询条件
	 */
	public Condition<LocalDateTime> getJoinEndTimeCondition() {
		return joinEndTimeCondition;
	}

	/**
	 * 设置报名结束时间查询条件
	 * 
	 * @param joinEndTimeCondition 报名结束时间查询条件
	 */
	public void setJoinEndTimeCondition(Condition<LocalDateTime> joinEndTimeCondition) {
		this.joinEndTimeCondition = joinEndTimeCondition;
	}

	/**
	 * 构造并返回开奖时间 精确到小时查询条件
	 * 
	 * @return drawBeginTimeCondition 开奖时间 精确到小时查询条件
	 */
	public Condition<LocalDateTime> drawBeginTime() {
		this.drawBeginTimeCondition = new Condition<>();
		return this.drawBeginTimeCondition;
	}
	
	/**
	 * 获取开奖时间 精确到小时查询条件
	 * 
	 * @return drawBeginTimeCondition 开奖时间 精确到小时查询条件
	 */
	public Condition<LocalDateTime> getDrawBeginTimeCondition() {
		return drawBeginTimeCondition;
	}

	/**
	 * 设置开奖时间 精确到小时查询条件
	 * 
	 * @param drawBeginTimeCondition 开奖时间 精确到小时查询条件
	 */
	public void setDrawBeginTimeCondition(Condition<LocalDateTime> drawBeginTimeCondition) {
		this.drawBeginTimeCondition = drawBeginTimeCondition;
	}

	/**
	 * 构造并返回开奖结束时间 开奖当天的结束时间查询条件
	 * 
	 * @return drawEndTimeCondition 开奖结束时间 开奖当天的结束时间查询条件
	 */
	public Condition<LocalDateTime> drawEndTime() {
		this.drawEndTimeCondition = new Condition<>();
		return this.drawEndTimeCondition;
	}
	
	/**
	 * 获取开奖结束时间 开奖当天的结束时间查询条件
	 * 
	 * @return drawEndTimeCondition 开奖结束时间 开奖当天的结束时间查询条件
	 */
	public Condition<LocalDateTime> getDrawEndTimeCondition() {
		return drawEndTimeCondition;
	}

	/**
	 * 设置开奖结束时间 开奖当天的结束时间查询条件
	 * 
	 * @param drawEndTimeCondition 开奖结束时间 开奖当天的结束时间查询条件
	 */
	public void setDrawEndTimeCondition(Condition<LocalDateTime> drawEndTimeCondition) {
		this.drawEndTimeCondition = drawEndTimeCondition;
	}

	/**
	 * 构造并返回是否开奖：0-未开奖；1-已开奖查询条件
	 * 
	 * @return isDrawCondition 是否开奖：0-未开奖；1-已开奖查询条件
	 */
	public Condition<Boolean> isDraw() {
		this.isDrawCondition = new Condition<>();
		return this.isDrawCondition;
	}
	
	/**
	 * 获取是否开奖：0-未开奖；1-已开奖查询条件
	 * 
	 * @return isDrawCondition 是否开奖：0-未开奖；1-已开奖查询条件
	 */
	public Condition<Boolean> getIsDrawCondition() {
		return isDrawCondition;
	}

	/**
	 * 设置是否开奖：0-未开奖；1-已开奖查询条件
	 * 
	 * @param isDrawCondition 是否开奖：0-未开奖；1-已开奖查询条件
	 */
	public void setIsDrawCondition(Condition<Boolean> isDrawCondition) {
		this.isDrawCondition = isDrawCondition;
	}

	/**
	 * 构造并返回[枚举]活动进行状态：0-进行中-PROCESSIONG、1-即将开始-ABOUT_START、2-已结束-OVER查询条件
	 * 
	 * @return processStatusCondition [枚举]活动进行状态：0-进行中-PROCESSIONG、1-即将开始-ABOUT_START、2-已结束-OVER查询条件
	 */
	public Condition<ActivityProcessStatus> processStatus() {
		this.processStatusCondition = new Condition<>();
		return this.processStatusCondition;
	}
	
	/**
	 * 获取[枚举]活动进行状态：0-进行中-PROCESSIONG、1-即将开始-ABOUT_START、2-已结束-OVER查询条件
	 * 
	 * @return processStatusCondition [枚举]活动进行状态：0-进行中-PROCESSIONG、1-即将开始-ABOUT_START、2-已结束-OVER查询条件
	 */
	public Condition<ActivityProcessStatus> getProcessStatusCondition() {
		return processStatusCondition;
	}

	/**
	 * 设置[枚举]活动进行状态：0-进行中-PROCESSIONG、1-即将开始-ABOUT_START、2-已结束-OVER查询条件
	 * 
	 * @param processStatusCondition [枚举]活动进行状态：0-进行中-PROCESSIONG、1-即将开始-ABOUT_START、2-已结束-OVER查询条件
	 */
	public void setProcessStatusCondition(Condition<ActivityProcessStatus> processStatusCondition) {
		this.processStatusCondition = processStatusCondition;
	}

	/**
	 * 构造并返回[枚举]上架状态：0-下架-LOWER、1-上架-UPPER查询条件
	 * 
	 * @return publishStatusCondition [枚举]上架状态：0-下架-LOWER、1-上架-UPPER查询条件
	 */
	public Condition<ActivityPublishStatus> publishStatus() {
		this.publishStatusCondition = new Condition<>();
		return this.publishStatusCondition;
	}
	
	/**
	 * 获取[枚举]上架状态：0-下架-LOWER、1-上架-UPPER查询条件
	 * 
	 * @return publishStatusCondition [枚举]上架状态：0-下架-LOWER、1-上架-UPPER查询条件
	 */
	public Condition<ActivityPublishStatus> getPublishStatusCondition() {
		return publishStatusCondition;
	}

	/**
	 * 设置[枚举]上架状态：0-下架-LOWER、1-上架-UPPER查询条件
	 * 
	 * @param publishStatusCondition [枚举]上架状态：0-下架-LOWER、1-上架-UPPER查询条件
	 */
	public void setPublishStatusCondition(Condition<ActivityPublishStatus> publishStatusCondition) {
		this.publishStatusCondition = publishStatusCondition;
	}

	/**
	 * 构造并返回创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建人ID查询条件
	 * 
	 * @param createdByCondition 创建人ID查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置更新人ID查询条件
	 * 
	 * @param modifiedByCondition 更新人ID查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置更新时间查询条件
	 * 
	 * @param modifiedTimeCondition 更新时间查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

}
